# -*- coding: utf-8 -*-
# @Time : 2021/9/13 16:24
# @Author : 阿怪
# @Email : 673691277@qq.com
# @File : read_data.py
# @Project : crm自动化测试项目实战

'''读取数据'''
import csv




def  read_data_fromcsv(filename):
    '''从csv里读取数据'''
    with open(filename,'r',encoding='utf-8') as f:
        csv_datas = csv.reader(f)        #读取csv文件
        ret = []
        for csv_data in csv_datas:
            ret.append(csv_data)
        # print(ret[0)
        return ret


# a = read_data_fromcsv('../../data/echo_data/data.csv')
# print(a)
